
import {
    Lazyload,
    Swipe,
    SwipeItem,
    Cell,
    CellGroup,
    NoticeBar,
    Tab,
    Tabs,
    Popup,
    ShareSheet,
    Overlay,
    Uploader,
    Icon,
    Toast,
    Tabbar,
    TabbarItem,
    DropdownMenu,
    DropdownItem,
    ActionSheet,
    Stepper,
    Button,
    Search,
    Loading,
    Form,
    Field,
    Area,
    AddressEdit,
    GoodsAction,
    AddressList,
    GoodsActionButton,
    GoodsActionIcon
 
} from 'vant';


export default {
    install(Vue) {
        // 注册全局组件
        Vue.use(Lazyload)
            .use(Swipe)
            .use(SwipeItem)
            .use(Cell)
            .use(CellGroup)
            .use(NoticeBar)
            .use(Tab)
            .use(Tabs)
            .use(Popup)
            .use(ShareSheet)
            .use(Overlay)
            .use(Uploader)
            .use(Icon)
            .use(Toast)
            .use(Tabbar)
            .use(TabbarItem)
            .use(Loading)
            .use(DropdownMenu)
            .use(DropdownItem)
            .use(Search)
            .use(Loading)
            .use(Form)
            .use(Field)
            .use(Button)
            .use(ActionSheet)
            .use(Stepper)
            .use(Area)
            .use(AddressEdit)
            .use(GoodsAction)
            .use(GoodsActionButton)
            .use(GoodsActionIcon)
            .use(AddressList);
    }
}